<script setup>
import {ref} from "vue";

let score = ref(95)
</script>

<template>
  <h1 v-if="score >=90" style="background-color: red">优秀</h1>
  <h1 v-else-if="score >=75" style="background-color: green"> 良好</h1>
  <h1 v-else-if="score >=60" style="background-color: blue"> 中等</h1>
  <h1 v-else style="background-color: yellow"> 差</h1>
</template>

<style scoped>

</style>